@extends('common')
@section('content')
    <!--中间-->
    <div class=" w1000 margincenter bgfff charicontent">
        <p class="ft14 c3838 pt20 mb20">您现在的位置是：{{$pos}}</p>
        <div class="overflow"><img src="images/caseimg.jpg" alt="" /></div>
        <div class="overflow casetab">
            <div class="overflow casenav">
                <span data-id="0" class="inblock ft20 ftc casedefalut">基本信息</span>
                <span data-id="1" class="inblock ft20 ftc">申请途经及程序</span>
                <span data-id="2" class="inblock ft20 ftc">项目申请材料</span>
            </div>
            <div class="overflow mt20 casecontent" id="case_0">
                <div class="overflow essential mb10">
                    <span class="inblock fl cfff ft18 ftr pr20">项目名称：</span>
                    <div class="overflow essentialtext ft18 fr">{{$project->name}}</div>
                </div>
                <div class="overflow essential mb10">
                    <span class="inblock fl cfff ft18 ftr pr20">项目责任单位：</span>
                    <div class="overflow essentialtext ft18 fr">{{$project->body_name}}</div>
                </div>
                {{--<div class="overflow essential mb10">--}}
                    {{--<span class="inblock fl cfff ft18 ftr pr20">项目类型：</span>--}}
                    {{--<div class="overflow essentialtext ft18 fr">啥快递费静安寺</div>--}}
                {{--</div>--}}
                <div class="overflow essential mb10">
                    <span class="inblock fl cfff ft18 ftr pr20">项目周期：</span>
                    <div class="overflow essentialtext ft18 fr">{{$project->period}}</div>
                </div>
                <div class="overflow essential mb10">
                    <span class="inblock fl cfff ft18 ftr pr20">实施地点：</span>
                    <div class="overflow essentialtext ft18 fr">{{$project->plance}}</div>
                </div>
                <div class="overflow essential mb10">
                    <span class="inblock fl cfff ft18 ftr pr20">救助对象：</span>
                    <div class="overflow essentialtext ft18 fr">{{$project->receiver}}</div>
                </div>
                <div class="overflow essential mb10">
                    <span class="inblock fl cfff ft18 ftr pr20">救助额度：</span>
                    <div class="overflow essentialtext ft18 fr">{{$project->amount}}&nbsp;元</div>
                </div>
            </div>
            <div class="overflow mt20 casecontent" id="case_1">
                {!! $project->procedure_text !!}
            </div>
            <div class="overflow mt20 casecontent" id="case_2">
                {!! $project->information !!}
            </div>
        </div>
        <div class="overflow ftc ft14 casepreson">项目负责人：{{$project->principal}}   联系电话：{{$project->principal_phone}}   工作时间：{{$project->principal_work_time}}</div>
        <a class="block margincenter liaojiebtn" href="{{route('procedure')}}"><img src="../images/liaojiebtn_03.jpg" alt="" /></a>
    </div>
    <!--中间  end-->
@endsection
@section('scripts')
    <script>
        $(function(){
            $(".casenav span").click(function(){
                $(this).addClass("casedefalut").siblings().removeClass("casedefalut");
                var caseid = $(this).attr("data-id");
                $("#case_" + caseid).show().siblings(".casecontent").hide();
            });
        });
    </script>
@endsection